﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class hero
    {
        static void Main(string[] args)
        {

            Ailuoke A = new Ailuoke("无敌暴龙战神");

            A.say();
            A.LYMG();
            A.SSDJ();
            A.ZDPX();

            Taila T = new Taila("无敌翼龙战神");
            T.say();
            T.JLCJ();
            T.YSTJ();
            T.FCSL();

            Lukasi L = new Lukasi("无敌三角龙战神");

            L.say();
            L.XFJW();
            L.NLLC();
            L.JSXJ();

            Feiluo F = new Feiluo("无敌蛇颈龙战神");
            F.say();
            F.NLJL();
            F.SKBL();
            F.AYCS();



        }
    }
    class preson
    {
        public string userName;
        public string name;
        public string attack;
        public string lifebar;
        public string speed;
        public string introduce;



        public void say()
        {
            Console.WriteLine("英雄名字叫{0}，我的名字叫{1}，我的攻击力为{2}，我的血量为{3}，我的速度为{4},英雄价绍{5}",
                this.name, this.userName, this.attack, this.lifebar, this.speed, this.introduce);

        }


    }

    class Ailuoke : preson
    {

        public Ailuoke(string userName)
        {
            this.userName = userName;
            this.name = "埃洛克";
            this.introduce = "我叫埃洛克是中国边境的一名战士。。。";
            this.lifebar = "80";
            this.speed = "60";
            this.attack = "70";

        }


        public void SSDJ()
        {
            Console.WriteLine("第一技能：碎石打击");
        }
        public void LYMG()
        {
            Console.WriteLine("第二技能：烈焰锚钩");
        }

        public void ZDPX()
        {
            Console.WriteLine("第三技能：战斗咆哮");
        }


    }
    class Taila : preson
    {
        public Taila(string user)
        {
            this.userName = userName;
            this.name = "泰拉";
            this.introduce = "泰拉是为复仇而来的";
            this.lifebar = "70";
            this.speed = "55";
            this.attack = "70";

        }
        public void JLCJ()
        {
            Console.WriteLine("第一技能：巨浪冲击");
        }
        public void YSTJ()
        {
            Console.WriteLine("第二技能：元素突击");
        }

        public void FCSL()
        {
            Console.WriteLine("第三技能：复仇杀戮");
        }



    }
    class Lukasi : preson
    {
        public Lukasi(string userName)
        {
            this.userName = userName;
            this.name = "卢卡斯";
            this.introduce = "卢卡斯是一位彬彬有礼的剑客";
            this.lifebar = "75";
            this.speed = "60";
            this.attack = "65";

        }
        public void JSXJ()
        {
            Console.WriteLine("第一技能：减速陷阱");
        }
        public void NLLC()
        {
            Console.WriteLine("第二技能：能量浪潮");
        }

        public void XFJW()
        {
            Console.WriteLine("第三技能：旋风剑舞");
        }


    }
    class Feiluo : preson
    {
        public Feiluo(string userName)
        {
            this.userName = userName;
            this.name = "菲洛";
            this.introduce = "菲洛是一名攻击迅猛且擅长传送魔法的时空旅行者";
            this.lifebar = "70";
            this.speed = "55";
            this.attack = "70";

        }
        public void NLJL()
        {
            Console.WriteLine("第一技能：能量精灵");
        }
        public void AYCS()
        {
            Console.WriteLine("第二技能：暗影传送");
        }

        public void SKBL()
        {
            Console.WriteLine("第三技能：时空迸裂");
        }





    }
}
